<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="animate.css">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
</head>
<body>
    <div id="app">
        <button @click="show=!show">显示/隐藏</button>
        <transition enter-active-class="animated bounceInleft" leave-active-class="animated bounceOutleft">
            <p v-if="show">过度文字效果</p>
        </transition>
    </div>
    <script>
        var vm=new Vue({
            el:"#app",
            data:{show:true}
        })
    </script>
</body>
</html>